@extends('shared.master')

@section('content')
<div class="container-fluid">
    <div class="row">
        <div class="col-lg-12">
            {{ Form::open(array('url' => '#')) }}
            <ol class="breadcrumb layout-title">
                <li><a href="{{url('status')}}">Status</a></li>
                <li class="active" ><i class="fa fa-user fa-fw"></i> Input</li>
            </ol>
                {{PageData::Error()}}

            <div class="row">
                <div class="col-lg-6">
                    <div class="form-group">
                        {{Form::label('name','Name *')}}
                        {{Form::hidden('id',$Model->getId(),array('class'=>'form-control'))}}
                        {{Form::text('name',$Model->getName(),array('class'=>'form-control'))}}
                    </div>
                    <div class="form-group">
                        {{Form::label('description','Description')}}
                        {{Form::textarea('description',$Model->getDescription(),array('class'=>'form-control'))}}
                    </div>
                </div>    
            </div>    

            <p>
                {{Form::submit('Save',array('class'=>'btn btn-primary',"name"=>"submit"))}}
                {{Form::button('Close',array('class'=>'btn btn-primary','onClick'=>"location.href='".url('usergroup')."'"))}}
            </p>

            {{ Form::close() }}
        </div>
        <!-- /.col-lg-12 -->
    </div>
    <!-- /.row -->
</div>
<!-- /.container-fluid -->
    <script>
    
    </script>
@stop